package com.tms.businessRolePermission.bean;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;


/**
 * Author：潘建冰
 * Package：com.tms.businessRolePermission.bean
 * Project：TaskManageSystem
 * name：BusinessRolePermission
 * Date：2025/3/24  22:49
 */
/**
 * 业务角色权限关联表
 * @TableName business_role_permission
 */
@TableName(value ="business_role_permission")
@Data
public class BusinessRolePermission implements Serializable {
    /**
     * 关联表ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 业务角色ID
     */
    @TableField("role_id")
    private String roleId;

    /**
     * 权限ID
     */
    @TableField("permission_id")
    private String permissionId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
